//
//  MYbuttonView.m
//  NBProduct
//
//  Created by hl on 15/12/10.
//  Copyright (c) 2015年 ping. All rights reserved.
//

#import "MYbuttonView.h"

@implementation MYbuttonView
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _buttonImaggView = [[UIImageView alloc] init];
        [self addSubview:_buttonImaggView];
        
        _buttonLabel = [[BaseLabel alloc] init];
        _buttonLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_buttonLabel];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
